package com.fancon.android.common;

import com.fancon.android.multithread.RequestQueue;

import android.app.Application;

/**
 * MeshTilesApplycation class extends Application and is used as base class for
 * our application. It is used for storing application wide data among
 * Activities.
 * 
 * @author binhbt
 * 
 */
public abstract class FanConApplication extends Application implements
		IFanconGlobalState {

	// RequestQueue instance.
	private RequestQueue mRequestQueue = null;

	@Override
	public RequestQueue getRequestQueue() {
		if (mRequestQueue == null) {
			mRequestQueue = new RequestQueue();
		}
		return mRequestQueue;
	}

}
